package com.ctgu.ImageRecognition.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author 
 * @since 2023-07-05 18:31:03
 */
public class User implements Serializable {
    private static final long serialVersionUID = 343325886297574035L;
    @JsonProperty(value = "uId")
    private Integer uId;
    
    private String username;
    
    private String password;
    
    private String email;
    
    private Date userCreated;


    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getUserCreated() {
        return userCreated;
    }

    public void setUserCreated(Date userCreated) {
        this.userCreated = userCreated;
    }

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", userCreated=" + userCreated +
                '}';
    }
}

